package com.tutou.ikuser.service;

import com.tutou.ikuser.pojo.dto.LRegisterDTO;
import com.tutou.ikuser.pojo.dto.Result;
import com.tutou.ikuser.pojo.dto.UserDTO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public interface UserService {
    Result login(LRegisterDTO lRegisterDTO, HttpServletRequest request);

    Result register(UserDTO userDTO);

    Result logout(String token);

    void checkCode(HttpServletRequest request, HttpServletResponse response);
}
